<?php

namespace App\Models\lak;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class FindHouse extends Model
{
    use HasFactory;
    public $table = 'find_house';
    protected $fillable = ['intention','name','phone'];

    public static function FindCreate($data){
        return self::query()->create($data);
    }

    public static function FindPaginate(){
        return self::query()->paginate(6);
    }


}
